/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package admin;

/**
 *
 * @author fcarou
 */
public class Admin
{
    private static Admin admin;
    
    private AdminSesion adminSesion;
    
    private Admin ()
    {
        adminSesion = new AdminSesion();
    }
    
    public static Admin getInstance ()
    {
        if (admin == null)
            admin = new Admin();
        
        return admin;
    }
    
    public AdminSesion getAdminSesion ()
    {
        return adminSesion;
    }
}
